package org.celery.modules.other.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springblade.core.mp.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

/**
 * 物流费用表实体类
 *
 * @author Celery
 * @since 2022-04-19
 */
@Data
@TableName("celery_logistics_fee")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "LogisticsFee对象", description = "物流费用表")
public class LogisticsFee extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    @JsonSerialize(using = ToStringSerializer.class)
  private Long id;
    /**
     * 租户ID
     */
    @ApiModelProperty(value = "租户ID")
    private String tenantId;
    /**
     * 匹配字段
     */
    @ApiModelProperty(value = "匹配字段")
    private String matchString;
    /**
     * 费用
     */
    @ApiModelProperty(value = "费用")
    private BigDecimal fee;
    /**
     * 权重
     */
    @ApiModelProperty(value = "权重")
    private Integer weight;


}
